<?php
namespace app\api\controller;

use app\api\controller\BaseController;

class NoticeController extends BaseController{
	public function getNotice(){
		$data = model('Notice')->getNotice();
        return json(['code'=>1,'data'=>$data]);
	}
    public function getNoticeDetail(){
		$data = model('Notice')->getNoticeDetail();
        return json(['code'=>1,'data'=>$data]);
	}
}